Fix page factory.