Fixed confusion when renaming pages