revert back to `window` for global scope