setting default value for fieldName