added trailing slash to api calls