Modified more Packet processing to remove warnings