fix the sensor data sample