fix curly braces that should have been parens