debug the statistics