fixed tag endings