spreadsheet API fixes.