fixes udp communication