clean some useless config.