fix list reading