trying to fix compile error in arduino