fix problem in statistic