fix braces issue