fixed bad type definition