fixed client_config writer