fixed the stupid TYPE Ending thing