fix i2c REPL error