fix verifying the downloaded files