diff --git a/brian_dashboard_manager/templating/helpers.py b/brian_dashboard_manager/templating/helpers.py
index fb2375fb03331dba331e8ef79321067ef0af66fc..fbd95d2f62b85b007639cd7859f3357071a4564e 100644
--- a/brian_dashboard_manager/templating/helpers.py
+++ b/brian_dashboard_manager/templating/helpers.py
@@ -247,7 +247,7 @@ def get_panel_fields(panel, panel_type, datasource):
             'refId': next(letters),
             'select_field': field,
             'percentile': 'percentile' in alias.lower(),
-            'bits': panel_type != 'errors'  # used to remove *8 on value
+            'errors': panel_type == 'errors'  # used to remove *8 on value
         }
 
     error_fields = [('Ingress Errors', 'errorsIn'),
diff --git a/brian_dashboard_manager/templating/templates/shared/panel_target.json.j2 b/brian_dashboard_manager/templating/templates/shared/panel_target.json.j2
index 933435eac77702ecb681abca6c2a049a34d13472..c3534c113d8c2da805e9b27b41e5f5a32ec002b7 100644
--- a/brian_dashboard_manager/templating/templates/shared/panel_target.json.j2
+++ b/brian_dashboard_manager/templating/templates/shared/panel_target.json.j2
@@ -38,7 +38,7 @@
                 "type": "percentile"
             }
         {% endif %}
-        {% if bits %}
+        {% if not errors %}
             ,{
                 "params": ["*8"],
                 "type": "math"