small fix DB Transactions