create tag feature, bug: new tag not generating properly