delete bad certs