Fixed the pageName plugin