I can't delete components

Hi, I figured out why I had an error, in commanding sharpshooters. It was because the programming.Programmable component. But I legitamately cannot delete the component. I tried everything, right clicking, ctrl delete, ctrl back space. I am getting pissed off. What happens: When 1 of my sharpshooters die, my hero just moves to her position, and stops commanidng, and is completely idle. When an enemy sharpshooter dies, the enemy hero is completely idle. -_- Help please!