fixed only writing client config if frozen.