fixed RestClient2 in client