correct bug with the menu