fix vector
rename type to family