fix videoplayer bug