remove unused dfs(also wrong)