fix list code