what if tag is array already , or tag is not kind of String, you should add more test cases