fixing bug in report generation