correct the bad stuff