remove the bad