Wifi fix

Fixes some problems with wifiout. using clear avoids a problem with recursive updates