EntityManager.clean - fix