submenu debugging