fixed setting the protocol verion for s3 buckets