Fix children bug