fixed entity manager config