fixed some list code