added removeEmptyRows()