fixed user and department relation