Refractoring $page_slug => $pageSlug