Fixes a curly bracket parsing error