use tcplay new API properly