Fix serial communication