fix stats controller