patch for MappingValueType