Fixed generator didn't yield