made some changes in hopes that the video stream will work better