patch for r7