Fix bad tag ending