destroy transaction utility and bug fixes