fixed deserialization bug where we were losing those fields if they are never reached before saving to db