bugfix transactions