fix list generation