remove global variable s->ctb_addr_ts