fix serial print