fixed packet being recieved twice