fix Ref in parent serialization