add curly braces to type (#43)