fix dependency problem with rest-client