fix discovery url