fix stats for statements tab