WiFi bugs fixed