bug fix - id needs dept