remove cert stuff