remove extra closing A tag