fix submenu reset