bug fixes to XSL importer