fixed braces issue