patch for appendConfig