fixing compile errors in ino file