fixed revoke permission on deleted node