resolve statistic feature bugs