fix udp and makefile