fix wifi scanning