fix row stats