Removes bad stuff