fixed i2c reads to be cleaner