add closing tag for userDefinedField array