Fix statistic error