diff --git a/src/unlearn/learn_config.py b/src/unlearn/learn_config.py
index dc7bf7d6f110f7b854ad3e87d4c19612779cb51f..9802c95ed77b8de11d6c245625bdfe4b9e79e115 100644
--- a/src/unlearn/learn_config.py
+++ b/src/unlearn/learn_config.py
@@ -237,7 +237,7 @@ class S(BaseHTTPRequestHandler):
         print(query.query)
         code = query.query.split('=')[1].split('&')[0]
         S.CODE = code
-        self.wfile.write(self._html(f"url: {url}<br>Code was: {code}"))
+        self.wfile.write(self._html(f"url: {self.path}<br>Code was: {code}"))
 
     def do_HEAD(self):
         self._set_headers()
diff --git a/src/unlearn/tokenpage.py b/src/unlearn/tokenpage.py
index da9454c46dca60ae55d3856d20ab561a18a296d3..04d66391a753ce905fd030a102e37cb065521df5 100644
--- a/src/unlearn/tokenpage.py
+++ b/src/unlearn/tokenpage.py
@@ -16,7 +16,7 @@ if __name__ == "__main__":
     if not os.path.isdir(pages):
         os.mkdir(pages)
     with open(pages + "/index.html", 'w') as f:
-        f.write("hello world! " + password)
+        f.write("hello world!")
     from unlearn.learn_config import LearnConfig
     from webdriver_manager.firefox import GeckoDriverManager
     from selenium import webdriver