-MASTER- fixed some issues while creating new packet to send.