auto curly-braces was buggy and slow