Fixed error after renaming the pages in the category