fixing stream 2