commit the head of packet