changed how the streamer works and prevented crashing