fixing click on menu items