bug fix for the menus