Change the way handling duplicates.