fix bug in getting children