Some bugs solved and transactions RUN OK!