fix errors in demo spreadsheet