stop using generator; prohibited by apache+sqlite3