fix serial comms