diff --git a/sohstationviewer/view/util/functions.py b/sohstationviewer/view/util/functions.py
index 2d50ff1c60f20f068682dd0db810544ae2de7537..4d3ea6d2dbf8f89a085ff6be4e346f1ece12411c 100644
--- a/sohstationviewer/view/util/functions.py
+++ b/sohstationviewer/view/util/functions.py
@@ -358,8 +358,8 @@ def replace_actual_quest_chans(
     :return: chan_order that have channels end with '?' replaced by actual
         channels.
     """
-    quest_chans = [c for c in chan_order if c.endswith('?')]
-    for qc in quest_chans:
+    question_chans = [c for c in chan_order if c.endswith('?')]
+    for qc in question_chans:
         actual_quest_chans = [c for c in list(actual_chans)
                               if qc[:-1] == c[:-1]]
         if actual_quest_chans: