fixes and base transaction class