Fixed entity manager.