Fix RetrieveSensorData