Fixing bracket matching bug