dealing with deserialization and repeated packets