fix a potential crash when decodeMimePhrase fail