reformat dupe link detection