fixing row_count