diff --git a/scripts/LoggerControl.py b/scripts/LoggerControl.py
index d702a334879303b4c74b5be9546c1affab7741d4..4b9ce720cb699440097968a50db31af200f3b80b 100644
--- a/scripts/LoggerControl.py
+++ b/scripts/LoggerControl.py
@@ -367,7 +367,7 @@ class LoggerControl():
             plt.ylabel(lgd[i])
         self.custom_suptitle("Linear and angular velocities")
 
-        print("RMSE: ", np.sqrt(((self.loop_h_v[:, 0] - self.mocap_h_v[:, 0])**2).mean()))
+        print("RMSE: ", np.sqrt(((self.joy_v_ref[:-1000, 0] - self.mocap_h_v[:-1000, 0])**2).mean()))
 
         # Analysis of the footstep locations (current and future) with a slider to move along time
         # self.slider_predicted_footholds()