fix i2c reading for length > 3 array