Fixed bug in importer