Fix rest-client