better dups detection