Remove duplicate closing tag