fixed uninstantiated objects in deserialization