Method brace detection fix