fix an anchor tag