# So deleting variables that no longer exist

**URL:** <https://community.thunkable.com/t/so-deleting-variables-that-no-longer-exist/987615>\
**Category:** Questions about Thunkable X\
**Created:** [November 20, 2020, 1:34pm UTC](https://community.thunkable.com/t/so-deleting-variables-that-no-longer-exist/987615 "2020-11-20T13:34:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brucemortland7e6c](https://avatars.discourse-cdn.com/v4/letter/b/45deac/32.png) [@brucemortland7e6c](https://community.thunkable.com/u/brucemortland7e6c)\
**Post date:** [November 20, 2020, 1:34pm UTC](https://community.thunkable.com/t/so-deleting-variables-that-no-longer-exist/987615/1 "2020-11-20T13:34:01Z")

</div>

So this problem has been marked as solved and it looks like it has reappeared again.

My project as an example: [https://x.thunkable.com/copy/e26e2d5cd1c3205d4d48f48e34bbfb95](https://x.thunkable.com/copy/e26e2d5cd1c3205d4d48f48e34bbfb95)

Essentially, when I look at my variables, it appears that old variables do NOT get deleted. In fact in my pull down ‘select the variable name’ in the variable block, I have a new AND an old variable that share the same name. I believe my code is getting confused (I know I am) and sometimes looks at the old variable. There is no ‘delete’ on the pull-down that seems to have existed in the past, though that seems to be an ugly fix. Another weird feature: variables that don’t have the create block still exist and can be used.

Seems like there should be a ‘garbage collection’ function that runs every time it saves. Easy for me to say, I don’t have to write/debug/maintain the code.

This was marked as solved and explains the problem: [[Solved] How can we delete function type variables no longer in use?](http://community.thunkable.com/t/solved-how-can-we-delete-function-type-variables-no-longer-in-use/563743)

PS: To the developers: Thanks for all the hard work. We only complain because we see how good this product can be. Thanks again!

---

<div class="post-metadata">

**Author:** ![darren](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/darren/32/69854_2.png) [@darren](https://community.thunkable.com/u/darren)\
**Post date:** [November 20, 2020, 1:42pm UTC](https://community.thunkable.com/t/so-deleting-variables-that-no-longer-exist/987615/2 "2020-11-20T13:42:18Z")

</div>

A post was merged into an existing topic: [How do I delete old variables?](https://community.thunkable.com/t/how-do-i-delete-old-variables/534628)

---

<div class="post-metadata">

**Author:** ![darren](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/darren/32/69854_2.png) [@darren](https://community.thunkable.com/u/darren)\
**Post date:** [November 20, 2020, 1:42pm UTC](https://community.thunkable.com/t/so-deleting-variables-that-no-longer-exist/987615/3 "2020-11-20T13:42:18Z")

</div>


