fix xhref attrs