fix: undefined local variable or method 'children_array'