Fixed a bug in parsing form protocol longName