Fix: sets the proper scope on click