packet size fix