fix runtime dependency rest-client