improve menu items creation in hydra