fixing REST api calls