fixed issue with dir list and download