Cleanup in spreadsheet upload