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