fix udp serial issues