also set parent object when creating, not only when materializing