fixed problem with menus