delete useless config information