Fix bug in importer