fix for new deserializing