Fix tag close