convert only when value is string