removing bad handlers