put mainmenu as index