update matcher, resolve the problem of repeat matcher in seq matcher

update matcher