fixed nil error in reports
build