Fix paths to api_url