correcting errors in the spreadsheet