fixed transaction reversal issues
Merge pull request #720 from safiyu/issue7

fixed transaction reversal issues