Corrected bug with menus