hotfix for label and parent department assignment.