refatorado SubDelete