Fixed bug associated with I2C bus and sensors