change brace form to support ssl