fix for broken urls fith s3