Fix type name output