fixed tag ending