diff --git a/evrouting/charge/utils.py b/evrouting/charge/utils.py
index a8060d54e580caac861ff0ccaa36a4444062d7ae..22fa9d67c39d746791b9f302def742f810a02e06 100644
--- a/evrouting/charge/utils.py
+++ b/evrouting/charge/utils.py
@@ -55,15 +55,15 @@ class LabelPriorityQueue(PriorityQueue):
         it cannot lead to a better solution.
         """
         try:
-            label: Label = self.peak_min()
+            min_label: Label = self.peak_min()
         except KeyError:
             return
 
-        soc: SoCFunction = self.f_soc_factory(label)
+        soc: SoCFunction = self.f_soc_factory(min_label)
 
         # Remove item if it gets dominated by any label in l_set
         if any(self.f_soc_factory(label).dominates(soc) for label in self.l_set):
-            self.remove_item(label)
+            self.remove_item(min_label)
 
     @staticmethod
     def keys(f_soc: SoCFunction) -> Dict: