removed the call of the mainmenu gamestate