Replacing wrong links