working through switch i2c bug