refactoring: don't cache the video box and minor changes