remove unwanted config