fix statistic  bug