remove bad stuff