made packetReceived synchronized
something