Bracket matching fixed