diff --git a/ffrn-gluon-config-mode-mesh-vpn/files/lib/gluon/config-mode/reboot/0100-mesh-vpn.lua b/ffrn-gluon-config-mode-mesh-vpn/files/lib/gluon/config-mode/reboot/0100-mesh-vpn.lua
index e93f3971cb213377ebf6eff7a4d63de730039e98..a5ee8c2309a4822ad1901e0dcd290fd187971782 100644
--- a/ffrn-gluon-config-mode-mesh-vpn/files/lib/gluon/config-mode/reboot/0100-mesh-vpn.lua
+++ b/ffrn-gluon-config-mode-mesh-vpn/files/lib/gluon/config-mode/reboot/0100-mesh-vpn.lua
@@ -11,7 +11,8 @@ else
 
   local pubkey = util.trim(util.exec("/etc/init.d/fastd show_key " .. "mesh_vpn"))
   local hostname = uci:get_first("system", "system", "hostname")
-  local mac = uci:get_first('gluon.sysconfig').primary_mac
+  local mac = sysconfig.primary_mac
+
 
   local msg = i18n.translate('gluon-config-mode:pubkey')