fix video id assignment