fix error in statreport
refactoring - user reportbuilder