account for bugs in Arduiono 1.00-1.02