fix error on menu bar