fix parentheses and type name