fixed previous commit for s3