remove unused reference to rest_client