bugfix for menus