# Duplication of variables

**URL:** <https://community.tulip.co/t/duplication-of-variables/6433>\
**Category:** Support, Troubleshooting, & Help\
**Created:** [September 21, 2022, 6:18am UTC](https://community.tulip.co/t/duplication-of-variables/6433 "2022-09-21T06:18:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rakitha](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/rakitha/32/4668_2.png) [@Rakitha](https://community.tulip.co/u/Rakitha)\
**Post date:** [September 21, 2022, 6:18am UTC](https://community.tulip.co/t/duplication-of-variables/6433/1 "2022-09-21T06:18:49Z")

</div>

I found this bug where I thought I was able to duplicate a variable.

But it turned out that one of the variables had a [SPACE] character at the end of the variable name, so Tulip could not pick up on the similarity.

It will be nice if Tulip can truncate [SPACE] if it is at the end of a variable name and not allow duplicates.

 ![var duplication](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/5/5bb255247a27938564dc46eeeb2fb7ac40a21e6b.png)

---

<div class="post-metadata">

**Author:** ![Pete\_Hartnett](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/pete_hartnett/32/3678_2.png) [@Pete\_Hartnett](https://community.tulip.co/u/Pete_Hartnett)\
**Post date:** [September 22, 2022, 12:46pm UTC](https://community.tulip.co/t/duplication-of-variables/6433/2 "2022-09-22T12:46:38Z")

</div>

Hey @Rakitha -

Good call, I created a feature request to strip off leading or training spaces from variable names to catch this case.

Pete
