Fixed a huge packet bug