getPageTitle should not do in the beginning of life cycle