fix udp template problem