Fix compile issue with report