fix urls for API's