fix video endpoint