delete factory