Fixed the problem with the packet collisions in the simulation