handle seemingly impossible case of empty outmessage with well-formed inmessage