Fix bug children_length