remove findConsumers in code generation
undo changes in the global bfs