fixing mismatched brace