grouping of subfields in mapdocument fix