add entity manager clear