prepare for gui menus