deleteEntityByURI method fixed