Revert "first patch to BFS"

This reverts commit 179a5e9c8170127e278f86635d5222414561e295.
Revert "BFS 404, needs fixing"

This reverts commit e0bb170b51b86fe42491b36600ddf4a249428f0d.