fix ts.