fix a bug about a tag