fix some stuff in ObjectGroup::load_xml