fix rowCount