fix transactions. bump version.
code transaction with serialize
refactor code