fixed communication "sendpacket" problems