but when field def is a string