[TSTR] use tstr_init() where applicable in scan