fix two final zero bytes when sending a packet