fix discovery