fix set_has_graph_child