fixed a transaction 5 bug