Fixed a bug in messaging
Merge pull request #36 from bryan-m-hughes/master

Bug fix in messaging