fix packet