Fixing AWS S3 issue.