fixing issues found during auto report generation