fix crash on videos on first run