remove self close tag