correct error in submenu example