My patch for linux