fixed some packetloss issues