tx bug fix