need to prevent rewriting of window.React