Fix Errors After Connecting to Amazon S3