Fix minor issue of RestClient