Fix udp issue