added deleteEmptyRows
not saving empty rows now