fix problem with extra braces