remove empty anchors