Fix discovery url