prevent duplicates in import