fix the instance cannot be load because the url is wrong