Fixed a bug for categorizing videos