Fixes call function scope.