fixed generation of menu for desktop