fix anchors with names not working