TransactionDAO bug solved