make manage statistic work