fix small webcam bug