Fix bugs in list and download.