fix eternal loop of wmi