bug fix for message export
Merge branch 'master' of github.com:teeple/pc_dev