# Unable to create tag when name is in existing tag with underscore

**URL:** <https://meta.discourse.org/t/unable-to-create-tag-when-name-is-in-existing-tag-with-underscore/52142>\
**Category:** Bug\
**Created:** [October 28, 2016, 6:53am UTC](https://meta.discourse.org/t/unable-to-create-tag-when-name-is-in-existing-tag-with-underscore/52142 "2016-10-28T06:53:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [October 28, 2016, 6:53am UTC](https://meta.discourse.org/t/unable-to-create-tag-when-name-is-in-existing-tag-with-underscore/52142/1 "2016-10-28T06:53:27Z")

</div>

**Summary:** Over at Stonehearth we previously created tags like `crafting` and `crafting_suggestion`. Doing some cleanup, `crafting` was removed from all topics. Now we cannot recreate the tag.

**Steps to reproduce:**

1. Add a tag to a topic
2. Add a different tag to a topic that has two words separated by an underscore and one word being the above created tag.
3. Remove the tag from #1 from all topics “deleting” the tag.
4. Attempt to add the tag back to a topic.

**Expected Results:**

Tag is added to topic.

**Actual Results:**

Tag does not appear as an option

**Notes:**

This is likely an issue even if step 1 is skipped, but I haven’t tested it.

**Attachments:**

![](https://global.discourse-cdn.com/meta/optimized/3X/4/f/4fba9961187071bced355fe3c74d256199588c1f_2_690x88.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/9/8/98a6e41273c44f6b5fbfbaea4c60746e1b43fdf9.png)

**Version Number:**

Discourse 1.7.0.beta5 ([discourse.stonehearth.net](http://discourse.stonehearth.net/))

**System Information:**

Windows 10 Education, Chrome Stable 54

---

_[View the full topic](https://meta.discourse.org/t/unable-to-create-tag-when-name-is-in-existing-tag-with-underscore/52142)._
