c++ mode inserts braces properly