Correcting s3 url