trying to get it right for redirect to s3
fixes