updated stream for new webcam and fixed possible ui error