revise the link anchors