minor changes to xml import