clean the config dirs