Fixed bug in add braces.