fix backreference and CNAME position and entries