diff --git a/webui/view/theme/default/templates/common/layout.tpl b/webui/view/theme/default/templates/common/layout.tpl
index 12392d44..f07104d0 100644
--- a/webui/view/theme/default/templates/common/layout.tpl
+++ b/webui/view/theme/default/templates/common/layout.tpl
@@ -29,7 +29,7 @@
-request->get['route'] == 'health/health') { ?> onload="loadHealth(); setInterval('loadHealth()', * 1000)" style="cursor: wait">
+request->get['route']) && $this->request->get['route'] == 'health/health') { ?> onload="loadHealth(); setInterval('loadHealth()', * 1000)" style="cursor: wait">
diff --git a/webui/view/theme/default/templates/common/menu-admin.tpl b/webui/view/theme/default/templates/common/menu-admin.tpl
index 278a21b2..98b8277a 100644
--- a/webui/view/theme/default/templates/common/menu-admin.tpl
+++ b/webui/view/theme/default/templates/common/menu-admin.tpl
@@ -14,7 +14,9 @@