Correcting anchors and links