fix transaction with refund