fixes s3 requirement