list generation fixed