fixed getting messages
Merge pull request #41 from ssbunyk/develop

fixed getting messages