fixed url for api