custom report department fix