set component to undefined