menu state bug fixed