fixing report generator