fix a bug.

fix bug, the list_children return a method, which should be a list.