fixed clicking on menu buttons