fix the tx counter field