exchange: fix transaction