Fix bootloop when turn on Wifi