removing bad stuff