removed EntityManager from entity