Fixing errors#7(WiFi)