fix s3 response null issue