Fix row write cell in spreadsheet