most warnings cleanup
bfs dfs