# \[Bug\] UDT Parameter with same name as nested tag results in null

**URL:** <https://forum.inductiveautomation.com/t/bug-udt-parameter-with-same-name-as-nested-tag-results-in-null/38198>\
**Category:** Ignition\
**Created:** [August 30, 2020, 4:33pm UTC](https://forum.inductiveautomation.com/t/bug-udt-parameter-with-same-name-as-nested-tag-results-in-null/38198 "2020-08-30T16:33:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![keithking05](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/keithking05/32/17713_2.png) [@keithking05](https://forum.inductiveautomation.com/u/keithking05)\
**Post date:** [August 30, 2020, 4:33pm UTC](https://forum.inductiveautomation.com/t/bug-udt-parameter-with-same-name-as-nested-tag-results-in-null/38198/1 "2020-08-30T16:33:50Z")

</div>

I think I’ve come across some unexpected behavior / bug with UDTs. I created a new UDT with some nested memory tags. When I create a parameter on the UDT with the exact same name as the nested tags, the value of the nested always show null.

When I rename the parameter / tag name so they’re different, it works as expected.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 30, 2020, 6:02pm UTC](https://forum.inductiveautomation.com/t/bug-udt-parameter-with-same-name-as-nested-tag-results-in-null/38198/2 "2020-08-30T18:02:05Z")

</div>

Not a bug. Parameters and tags are in the same namespace, so you simply cannot have duplicates.

---

<div class="post-metadata">

**Author:** ![keithking05](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/keithking05/32/17713_2.png) [@keithking05](https://forum.inductiveautomation.com/u/keithking05)\
**Post date:** [August 30, 2020, 6:12pm UTC](https://forum.inductiveautomation.com/t/bug-udt-parameter-with-same-name-as-nested-tag-results-in-null/38198/3 "2020-08-30T18:12:06Z")

</div>

May I suggest having something that warns the user of the naming collision or prevents them from using the same name since it won’t work? I was troubleshooting this issue not realizing it wasn’t working because of the naming conflict. I was grabbing at straws when I tried renaming it and found out it worked when the names were different.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 30, 2020, 6:13pm UTC](https://forum.inductiveautomation.com/t/bug-udt-parameter-with-same-name-as-nested-tag-results-in-null/38198/4 "2020-08-30T18:13:21Z")

</div>

It’s been suggested a number of times. Not a high priority, I suppose.
