fix transaction controller