cleanup deserialize