setting the context menu in the right place