throw if not dup bug fix

was throwing if no dup was found. sooooo all the time