fix dfs
threads