fix department template