ts_id debugging