Remove duplicate braces snippet