S3 download fix