removing stray closing tag