added better support for voiding transactions