fix broken links to internal anchors