solve issue not showing reports layout
refactor some code of line in report