remove close tag