removing bad option