fix dangling a tag