device discovery fixed