Fix error when clicking on an operation