fix a tag connect bug