Fixed bug for children