Bugfix revert tx