# Some of the plugins with a single item under uiEntryPoints still show a nested submenu

**URL:** <https://forums.creativeclouddeveloper.com/t/some-of-the-plugins-with-a-single-item-under-uientrypoints-still-show-a-nested-submenu/2334>\
**Category:** Adobe XD\
**Tags:** bug\
**Created:** [December 13, 2020, 6:01pm UTC](https://forums.creativeclouddeveloper.com/t/some-of-the-plugins-with-a-single-item-under-uientrypoints-still-show-a-nested-submenu/2334 "2020-12-13T18:01:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mightyalex](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/mightyalex/32/777_2.png) [@mightyalex](https://forums.creativeclouddeveloper.com/u/mightyalex)\
**Post date:** [December 13, 2020, 6:01pm UTC](https://forums.creativeclouddeveloper.com/t/some-of-the-plugins-with-a-single-item-under-uientrypoints-still-show-a-nested-submenu/2334/1 "2020-12-13T18:01:30Z")

</div>

The documentation says that when there is only one item under `uiEntryPoints` the “label” will be ignored and plugin name will be displayed without submenus. [https://adobexdplatform.com/plugin-docs/reference/structure/menu-structure.html#single-item-plugins](https://adobexdplatform.com/plugin-docs/reference/structure/menu-structure.html#single-item-plugins)

I found out this is not quite true and examined few `manifest.json` files before finally figuring out why it happens. **In order for only plugin name to be displayed, the label has to have the same string value as the plugin name**. In all other cases it will display a submenu.

Example:

```
{
  "id": "123456",
  "name": "Toki Chat", // Plugin name is "Toki Chat"
  "version": "0.0.1",
  "host": {
    "app": "XD",
    "minVersion": "34.0"
  },
  "uiEntryPoints": [
    {
      "type": "panel",
      "label": "Toki", // "Toki" label value will display submenu, while "Toki Chat" will display only plugin name
      "panelId": "chat"
    }
  ]
}
```
