add patch for config