fix controller bug
fix controller and Menubar