Fixed invalid placement of some curly braces