remove duplicates in outlinks