fix compile error on ardino 1.00