edit the tolerance patch