fix ts/tv bug