fix transaction