fix RestClient