correctly escaping braces