fix discover.