fixed a bug where s_arrange_deps[D_ALL] is not initialized