Fixed local discovery issue