fixed bug with anchors