fixed adding tags so you can't add bad tags