Fix improper tag close