Quick fix for i2c sensor reading