[fix] return in generator brakes python <= 3.2