fixed entity load when this.getEntity(...) is called