fixing links and adding anchors