fixed transform stream issues