fixed importer bugs