Fixed bug: no active scope.