Fix bug when processing a message.
Merge pull request #111 from remyLemeunier/patch-fix-process

Fix bug when processing a message.