fixed bug for statistics.go