set value after parsing children