fixed an error for arduino