fix the statistics