fixed factory delete error
2.1.1