depreciated wifi workaround