corrects a-tag position for W3C validation