fix error in case no report is found