add missing braces