fix packet size