fixes to create reports for department and branch