fix cloudant xform edit bug