fix dangling tag