fixed a bug with sensor.store