fix the matched bug.