special deduper of links