fixed Transaction-Bug