patch for shalow clone