correct type to types