fixing spreadsheet upload duplication error