cleanup config param handling