fix detect wifi device