fix msgs_fetching bug
Merge branch 'master' into release-1.2