fixed tx size bug