Network packet size bugfix