added patch for config error