fixed midithrough to discover new or missing devices