fix a bug with table of contents and languages, also add a new schema patch for category links