updated main_reports to fix critical error