fix scope.