fix for per request EntityManager