serial print fix