fix menu on/off processing (don't overwrite menu variable)