update in ending report

fix for another bug in ending report generation