fixed reportName assignment to use correct argument