fix the barace style as "foo{|bar| foobar }"