s3 environment was wrong