remove isHubPage method