fix dublicates