diff --git a/apps/routerconsole/jsp/formhandler.jsi b/apps/routerconsole/jsp/formhandler.jsi
index 99dfbb7cfb3d6fc3d87c26110cf7421a6dc2fb26..dc8c65b304045a15e008756a43131d9e8ab24874 100644
--- a/apps/routerconsole/jsp/formhandler.jsi
+++ b/apps/routerconsole/jsp/formhandler.jsi
@@ -16,7 +16,7 @@
     formhandler.storeMethod(request.getMethod());
 
     // Store the nonces for verification
-    String klass = getClass().getName();
+    String klass = formhandler.getClass().getName();
     String nonceAttr1 = klass + ".nonce";
     String nonceAttr2 = nonceAttr1 + "Prev";
     String nonce1 = (String) session.getAttribute(nonceAttr1);