fix MatchBrakets