Change error in CreateStatsReport