How do I not make sure that my equations don't turn red when my component is deleted?

It's all in the question, my syntax is good my equation works on the other hand I have to occasionally overpress components temporarily and my equations turn red, is there someone who has a solution to my problem, I understand that the equation turns red because he can't find my component anymore but I sometimes have to edit my equations in my assembly when this component is Delete and it prevents me from saving the new equations that I want to add.

 

Do you have a solution?