stream changed to string