remove incorrect calls to Serial.write()