trying to fix stats problem