fix <a> closing tag problem