fixed curly braces