fixed issue with level deserialization