try to set default endpoint