fix video loading prematurely