do not show submenu if its empty