finding some workarounds for deserialization