# Strange behavior on sub-UDT Name overriding

**URL:** <https://forum.inductiveautomation.com/t/strange-behavior-on-sub-udt-name-overriding/9420>\
**Category:** Ignition\
**Created:** [December 9, 2014, 5:04pm UTC](https://forum.inductiveautomation.com/t/strange-behavior-on-sub-udt-name-overriding/9420 "2014-12-09T17:04:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amarth](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarth/32/3313_2.png) [@Amarth](https://forum.inductiveautomation.com/u/Amarth)\
**Post date:** [December 9, 2014, 5:04pm UTC](https://forum.inductiveautomation.com/t/strange-behavior-on-sub-udt-name-overriding/9420/1 "2014-12-09T17:04:56Z")

</div>

Hello,

I’ve got an UDT containing sub-UDTs. I instanciate the UDT through a script using the system.tag.addTag function. When instanciating, I modify the name ou my sub-UDTs.

```auto
system.tag.addTag(parentPath="", name="BOX_1", tagType="UDT_INST", 
attributes={"UDTParentType":"BOX"}, 
parameters={"Libelle":"TEST LIBELLE"}, 
overrides={"AI_01":{"Name":u"Temperature"},
			"AI_02":{"Name":u"Pressure", "Enabled":"false"}
			})
```

And here the strange begins:  
The UDT is instanciated. The sub-UDTs are not renamed BUT the “Name” parameter has been changed. Moreover, when I click on a sub-UDT, it goes renamed as expected.  
Clicking on “Apply” or “OK” changes back the names of sub-UDTs to the original one.

My question is “Are the Names of sub-UDT supposed to be changeable ?” (hoping the answer is Yes)

Not sure if I am clear, so I made a few screenshots (order = before\>first click\>second click)

Regards.  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/cb9c4e8acd981931385ffa78c604d7ef58fcecca.png)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f30b951eadfe096707870b6e714de4ba9d5ea5f2.png)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c1f287c3d9fb4fd14589a8387b7e564138731cbf.png)
