Fixed bug in menubar