Fix self discovery warning