fix to deserializer to avoid non serialized values