fixes closing tag