typos in rest api wrapper