fix the problem of wild card tail anchor second backRef issue