patch for Spring