Fixed bad terminating tags