set type for child resources