department dropdown working