switch to work on wificonnect library