add debug check for windowsToRevive