fix stats  bug