Fix of structual errors in Arduino driver