fix bug in create_bucket_version