clean the import pairs before importing