fix a bug about adding new tag
Merge pull request #671 from leonindy/master

fix a bug about adding new tag