Fix factory.