diff --git a/tangostationcontrol/tangostationcontrol/devices/sdp/statistics_collector.py b/tangostationcontrol/tangostationcontrol/devices/sdp/statistics_collector.py
index a54a8995f122246ae9883adc018b24bdbf5aba9c..960fc49ab9d3fa3f9e3c2ad75429be901e420fbb 100644
--- a/tangostationcontrol/tangostationcontrol/devices/sdp/statistics_collector.py
+++ b/tangostationcontrol/tangostationcontrol/devices/sdp/statistics_collector.py
@@ -243,7 +243,7 @@ class XSTCollector(StatisticsCollector):
         """
 
         if subband_indices is None:
-            subband_indices = range(MAX_PARALLEL_SUBBANDS)
+            subband_indices = range(self.MAX_PARALLEL_SUBBANDS)
 
         matrix = numpy.zeros((len(subband_indices), self.MAX_INPUTS, self.MAX_INPUTS), dtype=numpy.complex64)
         xst_blocks = self.parameters["xst_blocks"]