fix broken anchors in theme