workaround for transform stream bug