no EntityManager bug fixed