fix curly braces thing