fix error in change_bucket_replication