fix bug due to ds_graph_opts change