improve metadata submenu built