fix missing braces