fixed bug and menu-disabled setting