fixed deserialization of level objects