fixed splitting of packet header