Fixed sensorInstance creation