fix variable curly braces