removing bad dir