fixing blank rows in the stats page