fixing errant <a> tags