Fixed type in s3 service