fixed entitymgr references