transactions bug fix