fix the pedant errors due to rest-client

seriously, just FFS