removing bad component reference