diff --git a/agkyra/gui.py b/agkyra/gui.py
index dfc661b546a4443800e841699e7002e09f86117c..035c5d25a19d144a4849e8872eee79af1866f3c7 100644
--- a/agkyra/gui.py
+++ b/agkyra/gui.py
@@ -39,7 +39,7 @@ class GUI(WebSocketBaseClient):
         self.start = self.connect
         self.nw = kwargs.get(
             'nw', os.path.join(os.path.join(CURPATH, 'nwjs'), 'nw'))
-        self.gui_code = kwargs.get('gui_code', os.path.join(CURPATH, 'gui.nw'))
+        self.gui_code = kwargs.get('gui_code', os.path.join(CURPATH, 'gui'))
         assert not self._gui_running(session), (
             'Failed to initialize GUI, because another GUI is running')
         self._dump_session_file(session)