SimplePageFactory: TypeError: Cannot read property 'title' of null