fix non-closing tag names