diff --git a/faceverify/dct_ubm.py b/faceverify/dct_ubm.py
index 6e5827ab4665afcd41e8e0a51b82a98a072049c6..a2c1a38e205509db649b3eff10eb4e15875cd052 100644
--- a/faceverify/dct_ubm.py
+++ b/faceverify/dct_ubm.py
@@ -106,8 +106,8 @@ def enrol(model_features, ubm, gmm_trainer):
 
 def stats(probe_feature, ubm):
   """Computes the UBM Statistics for the given feature vector"""
-  # compute the UBM stats for the given feature
-  feature = bob.io.Arrayset(probe_feature)
+  # compute the UBM stats for the given probe feature
+  probe_feature = bob.io.Arrayset(probe_feature)
   
   # Accumulate statistics
   gmm_stats = bob.machine.GMMStats(ubm.dim_c, ubm.dim_d)