fixed s3 interface