delete bad solutions