Fix window and global object