fix for s3 region issue