fix transaction save; calculate transaction action[fast fix 2]