fix git batch issue