minor logic fix for submenu/on mode