Fix global scope.