fix check WIFI and WWAN bug