clear EntityForm class