fixed pages_helper