support anchors and aliases