fix bug with Arduino Nano