transaction deseralize
fix typo
better dict