changes for browser reuse