fix internal type name