diff --git a/fsl/scripts/atlasq.py b/fsl/scripts/atlasq.py
index 502965767c1aa1e972abd46fac89b87ff029ff82..4b87509c03c44216e36017e229735543ec167456 100644
--- a/fsl/scripts/atlasq.py
+++ b/fsl/scripts/atlasq.py
@@ -315,7 +315,7 @@ def ohi(namespace):
             labels = labels[0]
 
             if labels is None: label = 'Unclassified'
-            else:              label = atlasDesc.labels[int(labels)].name
+            else:              label = atlasDesc.find(value=int(labels)).name
             print('<b>{}</b><br>{}'.format(atlasDesc.name, label))
 
         elif atlasDesc.atlasType == 'probabilistic':
diff --git a/tests/test_atlasq_ohi.py b/tests/test_atlasq_ohi.py
index c4a0938d5f5e6480411a21d3d77861681ee3fdcb..36279ce693ec0cbeb7c783bf3ece588f6c32431d 100644
--- a/tests/test_atlasq_ohi.py
+++ b/tests/test_atlasq_ohi.py
@@ -77,7 +77,7 @@ def test_coords(seed):
         if label is None:
             return expected + 'Unclassified'
         else:
-            return expected + atlas.desc.labels[int(label)].name
+            return expected + atlas.desc.find(value=int(label)).name
 
     capture = CaptureStdout()