More fixes.
Writing spreadsheet correctly.