fixes for issues 116 and 117, assign anchors