fixed issue on displaying the department