fix udp not init and udp's \0