Correct transactions and add savedb