custom report department view fix