config cleaning