fix aws-s3 issue