fixed .readSerial loop