fixed crash when spreadsheet not found