remove redundant typeName