fix ts strem