fixed deserialize objects "outside"