fix import_duplicates