remove department fields from xml