remove unwanted config info