Fix `return` generator