remove some un-needed config.