fixing mainmenu