Fixed an Arduino bug