set restclient as internal