safe addEntity