fixing page.name bug