fix the previous odometry data bug