fix getUserMedia issue