Fix serial interface