diff --git a/mods/core/createWindow.js b/mods/core/createWindow.js
index 47165d0..1b14aa6 100644
--- a/mods/core/createWindow.js
+++ b/mods/core/createWindow.js
@@ -49,6 +49,7 @@ module.exports = (store, __exports) => {
         preload: path.resolve(`${helpers.__notion}/app/renderer/index.js`),
         webviewTag: true,
         session: electron.session.fromPartition('persist:notion'),
+        enableRemoteModule: true,
       },
       ...rect,
     });
diff --git a/mods/core/tray.js b/mods/core/tray.js
index c86c9d4..c65c6a7 100644
--- a/mods/core/tray.js
+++ b/mods/core/tray.js
@@ -139,6 +139,7 @@ module.exports = (store, __exports) => {
           preload: path.resolve(`${__dirname}/enhancerMenu.js`),
           nodeIntegration: true,
           session: electron.session.fromPartition('persist:notion'),
+          enableRemoteModule: true,
         },
       });
       enhancer_menu.loadURL('enhancement://core/menu.html');