fix self_close tag bug