missing end tag fixing