Small fixes to arduino