fix transaction edit bug