fix of Factory Method