arduino support fixes #4