Fixed issue with undetected braces