fix bug with list retrieval.