Fix transform stream