Cant find the error bfs