fixed a bug in tx_tme