fixed vid-browser compatability issue