fix wifi only bug