clean up Type Attributes