a patch for compatible with windows