remove continuous star wildcard, but it is still too slow to pass the large data set.