fixed bug in downloadAndUnpackImagesForCorpus