fixed department not editing; fixes #14