problem with EntityManager (null)