add status bar in report
refactoring