delete useless config