fixed sensor data being displayed