fix tx build problem