Fixed the packet output (more reference errors)