Fixed inconsistent packet size.