fix the exception in report