Make menus work properly