typo fixed in tgs_adapter