properly escape braces