Fixed minor REST client issue