fix restclient typo