fix confirm transaction