re-patch for windows