amazon s3 fixes