trimming dept names