Modified Packet processing to remove warnings