fixed clickOnMenuItem