diff --git a/sapl/templates/base.html b/sapl/templates/base.html
index d8f222965..9eeb761bc 100644
--- a/sapl/templates/base.html
+++ b/sapl/templates/base.html
@@ -287,9 +287,7 @@
});
-
-
- {% if not DEBUG %}
+ {% if not debug %}
- {% endif %}
+ {% endif %}
{% endif %}
-
-
+
{% endblock foot_js %}
-