Remove the duplicates