clear AbstractFactory