fix i2c write word bug