fix duplicates file