i2c more bugfixes