protects the typeValue