fix BFS?