fixed errors for Transactions.java