fixed excessive dup detect