fix contextmenus.onclicked