fix the issue of wifi.interface property not defined