fixed bug that caused video stream error