fix child count