fixing bug in msg loading
Merge pull request #18 from cburbridge/master

fixing bug in msg loading