error checking for report.execute