diff --git a/classes/modules/adminModule.php b/classes/modules/adminModule.php
index f20cbd9bf198ffa578bbac2661248bfc9b7f7f5e..4baa3db81e0f897d9c927439057e9395c3d63564 100644
--- a/classes/modules/adminModule.php
+++ b/classes/modules/adminModule.php
@@ -440,7 +440,7 @@ class AdminModule extends abstractModule{
       <input type='text' name='prefix' id='prefix' value='local'/>
       <span class='help-block'>The prefix to describe this namespace ('local' is the one used to mirror URIs of the data in this server)</span>
       <label for='file'>Endpoint</label>
-      <input type='text' name='endpoint' id='endpoint' value='".$conf['ns']['local']."'/>
+      <input type='text' name='endpoint' id='endpoint' value='".$conf['endpoint']['local']."'/>
       <span class='help-block'>The endpoint URL</span>
       <br />
       <button type='submit' class='btn'>Submit</button></form>