better upload error handling and correction of tax upload filecount