fix a minor bug of s_client